package model;

public class Commodity {
    public Commodity(int cid, int number, float price, String c_name,Object photo) {
        this.cid = cid;
        this.number = number;
        this.price = price;
        this.c_name = c_name;
        this.photo = photo;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getC_name() {
        return c_name;
    }

    public void setC_name(String c_name) {
        this.c_name = c_name;
    }

    public Object getPhoto() {
        return photo;
    }

    public void setPhoto(Object photo) {
        this.photo = photo;
    }
    private int cid,number;
    private float price;
    private String c_name;
    private Object photo;
}
